Skip to content

Fix test_env and test_environ to expect any locale. #24632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

juj
Copy link
Collaborator

@juj juj commented Jun 28, 2025

Fixes test to pass on different locales on Windows.

@juj juj enabled auto-merge (squash) June 28, 2025 07:09
@juj juj merged commit 2260c40 into emscripten-core:main Jun 30, 2025
30 checks passed
@@ -3,5 +3,5 @@ LOGNAME=web_user
PATH=/
PWD=/
HOME=/home/web_user
LANG=(C|en_US).UTF-8
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main point of these tests is to verify that setting en_US in outer environment is respected by emscripten.

If the @with_env_modify({'LANG': 'en_US.UTF-8'}) line in the test code doesn't work on windows we should probably look into why its not works and/or disable the test under windows (with a bug open to investigate why it doesn't work).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants